package com.stenio.fancat.controller;

import lombok.Data;

/**
 * @author zhangqiu
 * @date 2018/12/1
 * @desc
 **/
@Data
public class Result<T> {

    private T data;
    private FLAG flag =FLAG.success ;
    private String msg;
    private String errorCode;

    public enum FLAG{
        success,
        failure
    }

}
